package com.syf.config.jetcache;

import com.alicp.jetcache.anno.config.EnableCreateCacheAnnotation;
import com.alicp.jetcache.anno.config.EnableMethodCache;
import org.springframework.context.annotation.Configuration;

/**
 * JetCache缓存:  redis缓存和内存缓存
 */
@Configuration
@EnableCreateCacheAnnotation
@EnableMethodCache(basePackages = "com.syf.service.impl") //开启一个方法级别的缓存，扫描包
public class JetCacheConfig {

}
